Repository navigation
fix(atlas): aggregator splits over-context chunks at embed time (#1518) - #10836
Conversation
Codex Review Summary: ❌ FailedThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
|
Warning Review limit reachedYou've used all free OSS reviews for now. Wait for the free limit to reset to keep reviewing this public repository. Next included review available in 20 minutes. View limit details
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. |
|
You have reached your Codex usage limits for code reviews. You can see your limits in the Codex usage dashboard. |
What
Follow-on to #10832 (task 17164, #1518), found by the live promotion run: the first entry,
infra/dns/dns_config.yaml(31,264 bytes, one whole-file staged chunk), tokenizes to 10,413 tokens — past the model context of 8,192 — and atlas-embed refuses it loudly, by design ("the corpus pipeline tokenizes whole texts and a >8192-token input is an error"; chunking is the caller's job).DocEmbeddergains token accounting:token_count(production: the model's own tokenizer viaEmbedder::tokenize) andmax_input_tokens(defaultatlas_embed::MODEL_CONTEXT).chunk_idx, and carry their own content hashes.cargo test -p atlas-core -p atlas-searchgreen before the cherry-pick onto current main, aggregate suite re-verified after.examples/retrieval_proof.rs(manual, in thelive_smoke.rsprecedent): embeds a semantic query with the production query embedder, fans out over a local shard dir, and prints hits with chunk text read back from the shard — the tool used for the Define code/config embeddings: unit, metadata, usage — and whether they share the prose embedding dump #1518 retrieval proof.Refs #1518, #5669. Part of task 17164.
Open in [code]smith · Need help on this PR? Tag
@codesmith-botwith what you need.